package com.abocode.aichat.app.user.api.command;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;


/**
 * Created by guanxf on 2015/12/16.
 */
@Data
public class UpdateUserPasswordCommand {
    @NotNull
    @Size(min = 6, max = 128)
    private String   password;
    @NotNull
    @Size(min = 6, max = 128)
    private String   newpassword;
}
